package com.gitee.wsl.ext.list

import kotlin.math.min

/**
 * Returns a view of this list excluding the first element.
 *
 * @since 0.0.1-alpha.4
 */
fun <T> List<T>.skipFirst(): List<T> = subList(min(1,size), size)
